package com.wxy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;

import com.ulisesbocchio.jasyptspringboot.annotation.EnableEncryptableProperties;

@EnableTransactionManagement
@ServletComponentScan(value = "com.wxy.controller")
@MapperScan(value = "com.wxy.dao")
//@ComponentScan(value = "com.wxy")
//@PropertySource("classpath:application.yml")
@EnableEncryptableProperties	//密码加密
@SpringBootApplication
public class springBootMain {
	public static void main(String [] args) {
		SpringApplication.run(springBootMain.class, args);
	}
}
